<?php
namespace app\service;
// +----------------------------------------------------------------------
// | bbcThink
// +----------------------------------------------------------------------
// | Copyright (c) 2025 http://bbcweb.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: bbcweb <22745529@qq.com>
// +----------------------------------------------------------------------
use think\facade\Db;

//国别
class CountryService
{
    public static function somelist($param=null)
    {
        $where=isset($param['where'])?$param['where']:[];
        $datalist=Db::name('country')->where($where)->select()->toarray();
        return $datalist;
    }
    public static function info($param)
    {
        $data=Db::name('country')->where($param['where'])->find();
        return $data;
    }
}